<%@ page language="java"  import="java.util.*"  pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'bluemsunMake.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link rel="stylesheet" type="text/css" href="css/bluemsunMake.css">
	
	<script src="js/update.js" language="javascript" type="text/javascript"></script>
    
  </head>
  
  <body>
   <div class="Top_1">
	    <div class="Topz_1">
	     <img src="image/logn.jpg"/>
	    </div>
	    <div class="Topz_2">
	     <img src="image/logo5.jpg"/>
	    </div>
   </div>
   <div class="DaoHang">
	   <ul>
		   <li name="daoh" style="letter-spacing:15px;"><a href="main.jsp">首页</a></li>
		   <li name="daoh"><a   href="aboutBluemsun.jsp">关于蓝旭</a>
		   <li name="daoh"><a   href="mafx?flag=mangerNews&pagenow=1&pagesize=17">新闻管理</a></li>
		   <li name="daoh"><a   href="mafx?flag=userInfor&pagenow=1">用户信息</a></li>
		   <li style="background:url(image/dh_02.png);" name="daohx"><a   href="bluemsunMake.jsp">蓝旭出品</a></li>
		   <li name="daoh"><a   href="">关于我们</a></li>
	   </ul>
   </div>
 <div class="center_1">
   <table>
    <tr>
       <td>作品ID</td>
       <td>作品名称</td>
       <td>作品配图</td>   
    </tr>   
    <c:forEach var="mB" items="${list_2}">
       <tr>
           <td>${mB.id}</td>
           <td>${mB.name}</td>
           <td>${mB.makeImage}</td>    
       </tr>
    </c:forEach>
   </table>
 </div>
 

 <table >
	 <form action="mfx?flag=addMake" method="post">
		    <tr style="color:black;">
		       <td><font style="color:black;">作品ID:</font><input type="text" name="makeid"/></td>
		       <td><font style="color:black;">作品IID:</font><input type="text" name="makeiid"/></td>
		       <td><font style="color:black;">作品名称:</font><input type="text" name="makename"/></td>
		       <td>
		                        <font style="color:black;"> 作品配图:</font>
		           <select name="makeImage">
		           <option>--请选择--</option>
		        
		           <c:forEach var="image" items="${list_1}">
		               <option value="${image.address}">${image.address}</option>
		           </c:forEach>
		           </select>       
		       </td>   
		    </tr>
		    <tr>
		        <td colspan=4><input style="width:70px;" type="submit" value="添加"/></td>
		    </tr>
	   </form>  
 </table>

 
  </body>
</html>
